package com;

public class DebitNoteBean 
{

	private String dbordnum,dbinnum,dbdt,dbsupname,dbsupcode,dbsupinnum,dbprodname,dbrejectionreason;
	private double dbprodrate,dbnetamount,dbtaxcat,dbtaxamount,dbtransport,dbothercosts,dbtotalamount;
	private int dbprodquantity,dbcredlimit;

	public String getPurchaseOrderNumber()
	{
		return dbordnum;
	}
	public void setPurchaseOrderNumber(String dbordnum)
	{
		this.dbordnum=dbordnum;
	}
	
	public String getPurchaseInvoiceNumber()
	{
		return dbinnum;
	}
	public void setPurchaseInvoiceNumber(String dbinnum)
	{
		this.dbinnum=dbinnum;
	}
	
	public String getPurchaseDate()
	{
		return dbdt;
	}
	public void setPurchaseDate(String dbdt)
	{
		this.dbdt=dbdt;
	}
	
	public String getSupplierName()
	{
		return dbsupname;
	}
	public void setSupplierName(String dbsupname)
	{
		this.dbsupname=dbsupname;
	}
	
	public String getSupplierCode()
	{
		return dbsupcode;
	}
	public void setSupplierCode(String dbsupcode)
	{
		this.dbsupcode=dbsupcode;
	}
	

	public String getProductName()
	{
		return dbprodname;
	}
	public void setProductName(String dbprodname)
	{
		this.dbprodname=dbprodname;
	}
	
	public int getPurchaseProdQuantity()
	{
		return dbprodquantity;
	}
	public void setPurchaseProdQuantity(int dbprodquantity)
	{
		this.dbprodquantity=dbprodquantity;
	}
	
	public double getPurchaseProdRate()
	{
		return dbprodrate;
	}
	public void setPurchaseProdRate(double dbprodrate)
	{
		this.dbprodrate=dbprodrate;
	}
	
	public double getPurchaseNetAmount()
	{
		return dbnetamount;
	}
	public void setPurchaseNetAmount(double dbnetamount)
	{
		this.dbnetamount=dbnetamount;
	}
	
	public double getPurchaseTaxCategory()
	{
		return dbtaxcat;
	}
	public void setPurchaseTaxCategory(double dbtaxcat)
	{
		this.dbtaxcat=dbtaxcat;
	}
	
	public double getPurchaseTaxAmount()
	{
		return dbtaxamount;
	}
	public void setPurchaseTaxAmount(double dbtaxamount)
	{
		this.dbtaxamount=dbtaxamount;
	}
	
	public double getPurchaseTransport()
	{
		return dbtransport;
	}
	public void setPurchaseTransport(double dbtransport)
	{
		this.dbtransport=dbtransport;
	}
	
	public double getPurchaseOtherCosts()
	{
		return dbothercosts;
	}
	public void setPurchaseOtherCosts(double dbothercosts)
	{
		this.dbothercosts=dbothercosts;
	}
	
	public double getPurchaseTotalAmount()
	{
		return dbtotalamount;
	}
	public void setPurchaseTotalAmount(double dbtotalamonut)
	{
		this.dbtotalamount=dbtotalamonut;
	}
	
	public int getPurchaseCreditLimit()
	{
		return dbcredlimit;
	}
	public void setPurchaseCreditLimit(int dbcredlimit)
	{
		this.dbcredlimit=dbcredlimit;
	}

	public String getPurchaseRejectionReason()
	{
		return dbrejectionreason;
	}
	public void setPurchaseRejectionReason(String dbrejectionreason)
	{
		this.dbrejectionreason=dbrejectionreason;
	}

/*	public PurchaseUserBean (ResultSet rs) throws SQLException
	   {
	purinnum=rs.getString("pvinnum");
	purdate=rs.getString("date");
	supname=rs.getString("pvsname");
	supcode=rs.getString("pvscode");
	  prodname=rs.getString("pvstname");
	  purprodquantity=rs.getInt("pvqua");
	  purprodrate=rs.getDouble("pvrate");
	  purnetamount=rs.getDouble("pvneta");
	  purtaxcat=rs.getDouble("pvtaxcat");
	  purtaxamount=rs.getDouble("pvtaxa");
	  purtransport=rs.getDouble("pvtrans");
	  purothercosts=rs.getDouble("pvot");
	  purtotalamount=rs.getDouble("pvtota");
	  purcredit=rs.getInt("pvcreadlim");
	   }
*/
}
